/** Definition of Numeric Class.
 * @file Numeric.h
 * @author Jeremy Schultz
 */

#ifndef	__NUMERIC_H_
#define	__NUMERIC_H_

#include <string>
#include <sstream>
#include "Token.h"

using namespace std;

#define NUMERIC	static_cast<Numeric*>

/** Provide support for a Numeric Token.
 */
class Numeric : public Token	{
	private:
		int value;	/**< Holds the numeric token value */

	public:
		/** Constructor.
		 * @param _value numeric value of the token
		 */
		Numeric(int _value);

		/** Getter - value.
		 * @return The value of the token 
		 */
		int Value();

		/** A String representation of Numeric.
		 * @return A string
		 * The string format will be: <br>
		 *  type: <i>int</i> value: <i>int</i>
		 */
		string toString();
};


#endif
